package com.peanut.service;

import com.peanut.entity.BookTypeFirst;
import com.peanut.entity.Page;
import com.peanut.entity.vo.BookVO;

import java.util.List;

public interface BookService {
	
	Page<BookVO> pageQueryAll(Integer currentPage, Integer pageSize);
	
	Page<BookVO> pageQueryAllByCondition(BookVO vo,Integer currentPage,Integer pageSize);
	
	int updateById(BookVO vo);
	
	
	List<BookTypeFirst> queryAllBookType();
}
